<?php
/**
 *
 * Created by PhpStorm
 * User: kalvin
 * DateTime: 2021/6/4 4:28 下午
 *
 */


namespace App\Repository;


use App\Entity\UserEntity;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Ramsey\Uuid\Uuid;

class UserRepository
{
    public function getUserById(int $id1, int $id2)
    {
        return (new UserEntity())->getUserInfo($id1, $id2);
    }

    public function createUser(int $id1, int $id2)
    {
        return (new UserEntity())->createUserInfo($id1, $id2);
    }
}
